﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iLangl
{
	public interface IAlert
	{
		
		String Id { get; set; }
		String Source { get; }
		eSeverity Severity { get; }
		DateTime Created { get; }
		
		IList<IError> Errors { get; }
		IList<Exception> Exceptions { get; }
		IList<IAction> Actions { get; }
		IList<IPackage> Packages { get; }
		

		void AddError(IError error);
		void AddAction(IAction action);
		void AddPackage(IPackage package);
		void AddException(Exception ex);

		void AddErrors(IList<IError> errors);
	}
}
